﻿using System.Collections.Generic;

namespace PgBirdie.Core.Model.Database.Structure.Index
{
    public class PgIndex : PgDbObject
    {
        public PgTable Table { get; set;}
        public bool IsClustered { get; set; }
        public bool IsUnique { get; set; }
        public string Type { get; set; }
        public IList<PgIndexColumn> Columns { get; set; }

        public PgIndex()
        {
            Columns = new List<PgIndexColumn>();
        }
    }
}